Skip to content

simplify gather guidance for agents - #283

Merged
nahiyankhan merged 1 commit into
mainfrom
simplify-gather-guidance
Sep 6, 2026
Merged

simplify gather guidance for agents#283
nahiyankhan merged 1 commit into
mainfrom
simplify-gather-guidance

Conversation

@nahiyankhan

@nahiyankhan nahiyankhan commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Category: improvement
User Impact: Agents receive shorter, direct task guidance from ghost gather without losing package diagnostics available to integrations.
Problem: Gather Markdown exposed Ghost's implementation state, including cover status, selection contracts, numbering, and support telemetry. That consumed context without changing the agent's next action.
Solution: Compile default Markdown into a task, always-present guidance, an explicit uncovered-decision policy, and a bulleted list of applicable IDs. Keep complete cover, contract, coverage, kind-purpose, and payload metadata in JSON, and make context-control evaluate the literal Markdown agents receive.

Validation:

  • pnpm run quality:all: passed
  • Pre-commit pnpm check, format, and pnpm test: passed
  • Pre-push pnpm run quality:all: passed

Changeset: added as a minor change because default gather output and task requirements change.

ghost Review:

  • ghost review --package packages/vessel-light/.ghost --base origin/main: advisory packet generated; changed files have no matching Vessel material locators and the offered visual median check does not apply.
File changes

.changeset/simplify-gather-markdown.md
Records the user-visible gather output change.

README.md, packages/ghost/README.md
Show the required task argument for Markdown gathers.

packages/ghost/src/commands/gather-command.ts
Renders task guidance directly, requires an ask for Markdown, removes implementation telemetry and numbering, and retains JSON diagnostics.

packages/ghost/src/commands/command-discovery.ts
Updates compact help to show the required ask.

packages/ghost/src/init-payloads/skeleton/brand.md, packages/ghost/src/init-payloads/skeleton/glossary.md
Give starter packages direct fallback and selection language.

packages/ghost/src/scan/package-lint.ts
Warns when always-present guidance lacks an If no guidance applies policy.

packages/ghost/src/skill-bundle/**
Aligns making, grounding, schema, and audit instructions with the compiled Markdown and diagnostic JSON split.

packages/ghost/test/cli.test.ts
Covers the simplified Markdown, required ask, fallback policy, and retained JSON behavior.

packages/context-control/**
Feeds literal gather Markdown into selection trials instead of reconstructing a richer prompt from JSON.

packages/steering-control/lib/arms.mjs
Names the injected section as task guidance rather than a Ghost menu.

packages/vessel-light/.ghost/index.md
Adds Vessel's package-specific uncovered-decision policy while preserving its one-screen budget.

Screenshots/Demos: N/A; this changes CLI and agent context output.

@nahiyankhan
nahiyankhan marked this pull request as ready for review September 5, 2026 23:53
@nahiyankhan
nahiyankhan merged commit c11edbb into main Sep 6, 2026
6 checks passed
@nahiyankhan
nahiyankhan deleted the simplify-gather-guidance branch September 6, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant